package com.mezz.bones.im.logic.domain.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 群成员进出记录表
 * </p>
 *
 * @author mezz
 * @since 2025-05-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName(value = "chat_group_member_record", autoResultMap = true)
@ApiModel(value="ChatGroupMemberRecord对象", description="群成员进出记录表")
public class ChatGroupMemberRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty(value = "群组ID")
    private String groupId;

    @ApiModelProperty(value = "用户ID")
    private String userId;

    @ApiModelProperty(value = "0退出群聊 1加入群聊")
    private Integer operationType;

    @ApiModelProperty(value = "操作人ID(系统操作时为NULL)")
    private String operatorId;

    @ApiModelProperty(value = "操作人名称")
    private String operatorName;

    @ApiModelProperty(value = "操作原因")
    private String operationReason;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "是否删除 0:否 1:是")
    private Integer isDel;


}
